#include "Random.h"

Random randomGenerator; 

Random::Random()
{
	srand(time(0));
}

int Random::inRangeIncl(const int low, const int high)
{
	return low + rand()%(high-low+1);

}

bool Random::chance(const int percentage)
{
	if(percentage <= inRangeIncl(1,100))
		return true;
	else
		return false;
}
